﻿/**
 * @名称: base.css
 * @更新: 2019.06.12 更新
 * @作者: yuguoliang
 * @博客：http://www.web000.cn/
 */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0;
}

ol, li {
    list-style: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

html, body {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

::-webkit-scrollbar-track {
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

::-webkit-scrollbar-thumb {
}

a {
    text-decoration: none;
}

a, img {
    -webkit-touch-callout: none; /* 禁止长按链接与图片弹出菜单 */
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    outline: none;
    vertical-align: baseline;
    *vertical-align: middle;
}

button, input {
    line-height: normal;
    -webkit-appearance: none;/*去除ios按钮默认样式*/
    *overflow: visible;
}

table button, table input {
    *overflow: auto;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;/*去除ios按钮默认样式*/
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
}

input[type="search"] {
    -webkit-appearance: none;/*去除ios按钮默认样式*/
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;/*去除ios按钮默认样式*/
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: middle;
}

/*========常用原子样式=========*/
.left {
    float: left !important;
}

.right {
    float: right !important;
}

.textl {
    text-align: left !important;
}

.textc {
    text-align: center !important;
}

.textr {
    text-align: right !important;
}

.hide {
    display: none !important;
    visibility: hidden;
}

.texthide {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.texthide-wrap{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp: 2;
    overflow:hidden;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.flex-box{
  display:-webkit-box;
  display:-webkit-flex;
  display:flex;
}

.flex-center{
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.flex1{
  -webkit-box-flex:1;
  -webkit-flex:1;
          flex:1;
}

.flex2{
  -webkit-box-flex:2;
  -webkit-flex:2;
          flex:2;
}

.flex3{
  -webkit-box-flex:3;
  -webkit-flex:3;
          flex:3;
}

.flex4{
  -webkit-box-flex:4;
  -webkit-flex:4;
          flex:4;
}

.flex5{
  -webkit-box-flex:5;
  -webkit-flex:5;
          flex:5;
}
